<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

<head>
    <meta charset="utf-8">
    <title>设备录入</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <meta http-equiv="Pragma"    content="no-cache"/>
     
    <meta http-equiv="Cache-Control"    content="no-cache"/>
     
    <meta http-equiv="Expires"    content="0"/>

    <link rel="stylesheet" href="/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/layui/style/admin.css" media="all"/>
</head>
<body class="childrenBody">
<blockquote class="layui-elem-quote news_search">
    <div class="layui-form-item queryTable">

        <div class="layui-input-inline layui-form">
            进货方式:<select name="queryEnterType" autocomplete="off" placeholder="请选择进货方式" class="layui-select-group" id="queryEnterType">
                <option value="">请选择</option>
                <option value="unified">统一采购</option>
                <option value="personal">个人采购</option>
            </select>
        </div>

        <div class="layui-input-inline layui-form">
            货物类型:<select name="queryDeviceType" autocomplete="off" placeholder="请选择货物类型" class="layui-select-group" id="queryDeviceType">
                <option value="">请选择</option>
                <option value="WECHAT">微信</option>
                <option value="ALIPAY">支付宝</option>
            </select>
        </div>

        <div class="layui-input-inline layui-form">
            厂商:<select name="queryProducer" autocomplete="off" placeholder="请选择厂商" class="layui-select-group" id="queryProducer">
                <option value="">请选择</option>
                <option value="天之河">天之河</option>
                <option value="马里奥">马里奥</option>
                <option value="联迪">联迪</option>
            </select>
        </div>

        <div class="layui-input-inline" style="width: unset;margin-top: 20px">
            <a class="layui-btn search_btn ">查询</a>
        </div>

        <div class="layui-input-inline" style="width: unset;margin-top: 20px">
            <a class="layui-btn type_btn">设备导入</a>
        </div>

    </div>
</blockquote>

<table class="layui-hide" id="device_batch_info_table" lay-filter="device_batch_info_table"></table>

<div id="pot_win" style="display: none;">
    <div class="layui-form-item" style="width: 400px;margin-top: 40px;margin-left: 40px">
        <label class="layui-form-label">进货方式:</label>
        <div class="layui-input-block layui-form">
            <select name="enterType" autocomplete="off" class="layui-select-group" placeholder="进货方式" id="enterType">
                <option value="">请选择</option>
                <option value="unified">统一采购</option>
                <option value="personal">个人采购</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item" style="width: 400px;margin-top: 20px;margin-left: 40px">
        <label class="layui-form-label">货物类型:</label>
        <div class="layui-input-block layui-form">
            <select name="deviceType" autocomplete="off" class="layui-select-group" placeholder="货物类型" id="deviceType">
                <option value="">请选择</option>
                <option value="WECHAT">微信</option>
                <option value="ALIPAY">支付宝</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item" style="width: 400px;margin-top: 20px;margin-left: 40px">
        <label class="layui-form-label">厂商:</label>
        <div class="layui-input-block layui-form">
            <select name="producer" autocomplete="off" class="layui-select-group" placeholder="厂商" id="producer">
                <option value="">请选择</option>
                <option value="天之河">天之河</option>
                <option value="马里奥">马里奥</option>
                <option value="联迪">联迪</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item" style="margin-left: 40px">
        <div class="layui-input-block">
            <button type="button" class="layui-btn" id="file" name="file">
                <i class="fa fa-folder-open"></i>
                设备导入
            </button>
            <span id="filename"></span>
        </div>
    </div>

</div>

<!-- 批次明细表格-->
<div id="device_order_win" style="display: none;">
    <div class="layui-form-item deviceOrderTable" style="margin-top: 20px;margin-left: 20px">

        <div class="layui-input-inline">
            <input name="terminalSn" id="terminalSn" type="text" value="" placeholder="输入设备sn序列号" autocomplete="off"
                   class="layui-input search_input">
        </div>

        <div class="layui-input-inline">
            <input name="orgName" id="orgName" type="text" value="" placeholder="输入归属公司名称" autocomplete="off"
                   class="layui-input search_input">
        </div>

        <div class="layui-input-inline" style="width: unset;">
            <a class="layui-btn order_btn ">查询</a>
        </div>
    </div>
    <form id="device_batch_form" class="layui-form" action="" lay-filter="device_batch_form">
        <input name="deviceBatchId" type="hidden" value="" id="deviceBatchId">
    </form>
    <table id="department_result" lay-filter="department_result"></table>
</div>

<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/js/device/deviceBatchInfoList.js"></script>

<script type="text/html" id="OptData">
    <a class="layui-btn layui-btn-xs" lay-event="data">详情</a>
</script>

<script type="text/html" id="table-tool">
    <a class="layui-btn layui-btn-xs" lay-event="yes">选择</a>
</script>

</body>
</html>